home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
util
/
pack
/
xpk_Source.lha
/
xpk_Source
/
examples
/
makefile
next >
Wrap
Makefile
|
1998-11-09
|
698b
|
38 lines
#
# Makefile for the various example programs
#
# The files in here:
# - xpkmanx.c : The 'xpk' program for Manx compilation
# - xpksas.c : The 'xpk' program for SAS compilation
# - xpkdice.c : The 'xpk' program for DICE compilation
#
msg:
-Please specify your compiler, either 'make manx', 'make sas' or 'make dice'
all: manx dice sas
manx: xpkmanx
dice: xpkdice
sas : xpksas
#-----MANX
xpkmanx: xpkmanx.c
cc xpkmanx.c
ln xpkmanx.o -lc
#----DICE
xpkdice: xpkdice.c
dcc xpkdice.c -lxpkmaster.lib -oxpkdice
#----SAS
xpksas: xpksas.c
sc xpksas.c LINK TO xpksas LIB lib:sc.lib NOICONS
clean:
-Delete "#?.o"
-Delete "#?manx"
-Delete "#?sas"
-Delete "#?.lnk"
-Delete "#?dice"